/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Cliente.Controlador;

/**
 *
 * @author Jorge Perez
 */
public class Exceptions extends Exception {

    public Exceptions(String message) {
        super(message);
    }
    /**
     * Connection error, the socket could not establish the connection
     */
    public static String ERROR_01 = "error01";
    /**
     * Number invalid of parameters (When some information fails to be sent)
     */
    public static String ERROR_02 = "error02";
    /**
     * Fail reading the data
     */
    public static String ERROR_03 = "error03";
    /**
     * The gameId must be an int value
     */
    public static String ERROR_04 = "error04";
    /**
     * Were unable to receive the user data
     */
    public static String ERROR_05 = "error05";
    /**
     * The number readed must be an integer value
     */
    public static String ERROR_06 = "error06";
    /**
     * Unknown host exception
     */
    public static String ERROR_07 = "error07";
    /**
     * Fail closing the Socket
     */
    public static String ERROR_08 = "error08";
    /**
     * Fail joining a game
     */
    public static String ERROR_09 = "error09";
    /**
     * Fail leaving a game
     */
    public static String ERROR_10 = "error10";
    /**
     * The user exists
     */
    public static String ERROR_11 = "error11";
    /**
     * The user not exists
     */
    public static String ERROR_12 = "error12";
}
